﻿	config.eventcfg = {		selPlan: function(){			var records = this.grid.getSelectionModel().getSelections();			if (!JxUtil.selectone(records)) return;						var mplanId = records[0].get('project_mplan__mplan_id');			var frm = Ext.get('frmGantt_Plan').dom.contentWindow;			frm.App.Gantt.reloadData(mplanId);						var parent = this.grid.ownerCt;			if (parent.isXType('window')) parent.close();		}
	};		config.initpage = function(gridNode){		var grid = gridNode.page;		grid.on('rowdblclick', function(g, n, e) {			gridNode.event.selPlan();		});	};